import { pureGet, put } from "../common/ajax";

export const getAllowMemberSelect = () =>
  pureGet("/option/allowMemberSelect");

export const setAllowMemberSelect = option =>
  put("/option/allowMemberSelect", {
    option: option
  });

export const getAllowLeaderBudget = () => pureGet("/option/allowLeaderBudget");

export const setAllowLeaderBudget = option =>
  put("/option/allowLeaderBudget", {
    option: option
  });
